#include "zibprotol.hpp"

int main() {
    std::string input = "$temp:33@humi:44\n$temp:33@humi:44\n$temp:33@humi:44\n";
    Zibprotol zz;
    auto sensor_data = zz.parseData(input);

    for (const auto& data : sensor_data) {
        std::cout << "Temperature: " << data.temp << ", Humidity: " << data.humi << std::endl;
    }

    return 0;
}